package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 账单信息表
 * </p>
 *
 * @author Generator
 * @since 2024-12-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_bill_info")
@ApiModel(value = "CgnciBillInfoDO对象", description = "账单信息表")
public class CgnciBillInfoDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("账单配置ID")
    @TableId(value = "bill_id", type = IdType.ASSIGN_ID)
    private Long billId;

    @ApiModelProperty("业务ID")
    private Long businessId;

    @ApiModelProperty("账单年度口径(1-业务年度,2-财务年度),码表值:billYearBasis")
    private String billYearBasis;

    @ApiModelProperty("账单周期(1-月度,2-季度,3-半年度,4-年度),码表值:billCycle")
    private String billCycle;

    @ApiModelProperty("账单核算期限(天)")
    private Integer processingDays;

    @ApiModelProperty("纯益手续费率")
    private BigDecimal pureCommissionRate;

    @ApiModelProperty("管理费用率")
    private BigDecimal managementFeeRate;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    @TableField(update = "now()")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
